package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.entity.OrderVo;
import com.itheima.entity.QueryString;
import com.itheima.pojo.Order;
import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderDao {
    public void add(Order order);
    public List<Order> findByCondition(Order order);
    public Map findById4Detail(Integer id);
    public Integer findOrderCountByDate(String date);
    public Integer findOrderCountAfterDate(String date);
    public Integer findVisitsCountByDate(String date);
    public Integer findVisitsCountAfterDate(String date);
    public List<Map> findHotSetmeal();


    List<Map<String,Object>> findSetmealIdAddressByMemberId(Integer memberId);
    Integer findOrderByMonths(String date);
    List<Order> findAllOrders();
    Integer findDiagnosisedByDate(String date);
    Map<String,Object> memberAge();

}
